package com.oscar.web.domain;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
@Proxy(lazy = false)
public class Streamrecs {
    @Id //这个地方是要做主键用的
    private int userid;

    @Column(nullable = false)
    private String recs;

    //get and set方法：


    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getRecs() {
        return recs;
    }

    public void setRecs(String recs) {
        this.recs = recs;
    }
}
